package com.framework.util;

import org.springframework.context.ApplicationContext;

/**
 * 项目名称：
 * 
 * @author:GengLong
 * 
 */
public class Const
{
	public static final String SYS_NAME = "官网管理系统"; // 系统名称路径

	public static final String SESSION_LOGIN_NAME = "login_login_name"; // 用户名
	public static final String SESSION_SECURITY_CODE = "login_sec_code";// 验证码：String
	public static final String SESSION_USER = "login_user";// 用户：User对象
	public static final String SESSION_USER_ROLE = "login_user_role";// 用户及权限:User(含Role)对象
	public static final String SESSION_MENU_LIST = "left_menu_list";// 菜单：List<Menu>对象
	public static final String SESSION_MENU_ACTIVE = "left_menu_active";// 活动菜单编码：String
	public static final String SESSION_MENU_P_ACTIVE = "left_menu_p_active";// 活动父菜单编码：String
	public static final String SESSION_BUTTON_RIGHTS = "btn";// 操作权限

	public static final String ADMIN_ROLE_CODE = "100"; // 系统管理员权限编码

	public static final String LOGIN = "/login_toLogin.do"; // 登录地址
	public static final String HOME = "/home_toIndex.do"; // 登录地址

	public static final String UPLOAD_IMG_DIR = "D:/GL_LOG/img"; // 上传磁盘路径
	public static final String UPLOAD_EDITOR_DIR = "D:/GL_LOG/editor"; // 上传磁盘路径
	public static final String UPLOAD_IMG_URL = "upload/img"; // 上传文件URL访问路径
	public static final String UPLOAD_EDITOR_URL = "upload/editor"; // 上传文件URL访问路径


	public static final String NO_INTERCEPTOR_PATH = ".*/((login_)|(wx_)|(pos_)|(websocket)).*"; // 不对匹配该值的访问路径拦截（正则）
	public static ApplicationContext WEB_APP_CONTEXT = null; // 该值会在web容器启动时由WebAppContextListener初始化

	public static final String STOCK_IN_NUM = "RK_"; // 入库单号
	public static final String STOCK_ORDER_NUM = "DD_"; // 订单单号
	public static final String STOCK_OUT_NUM = "CK_"; // 出库单单号
	public static final String FLOWER_SHOP_ID = "402881924d7a779e014d7a88c64500e8";//花店id

	// ###########################################文本配置存放路径###########################################
	public static final String PAGE = "resources/config/PAGE.txt"; // 分页条数配置路径
	public static final String EMAIL = "resources/config/EMAIL.txt"; // 邮箱服务器配置路径
	public static final String ACCESS_TOKEN = "resources/config/ACCESS_TOKEN.txt"; // 微信ACCESS_TOKEN
	public static final String JSAPI_TICKET = "resources/config/JSAPI_TICKET.txt"; // 微信JSAPI_TICKET

	// #########################################################################################

	// ###########################################微信###########################################
	public static final String WX_URL = "/client_";
	public static final int AGENTID = 1;
//	public static final String APPID = "wx1bb433709f0a4ba4";
//	public static final String APPID = "wxcd0ce3c36d88bec5";
//	public static final String APPSECRET = "fba9f9cc031cb605d776620a6c8b669e";


	public static final String SESSION_OPEN_ID = "open_id"; // open_id

	public static final String GET_MEDIA_URL = "https://api.weixin.qq.com/cgi-bin/media/get?access_token=";
	public static final String UPLOAD_MEDIA_URL = "https://api.weixin.qq.com/cgi-bin/media/upload?access_token=";

	public static final String PARTNER = "1243452302"; // 财付通商户号
	public static final String PARTNER_KEY = "ZhongHuaKey2015CaiFuTongWeiXinGL"; // 财付通密钥
//	public static final String APP_KEY = ""; // paysignkey 128位字符串(非appkey)
	public static final String TEST_URL ="http://cs.5d.com.cn/dcm/";
	public static final String WL_URL = "http://120.26.232.133:8080/";
	// #########################################标签管理######################################
	public static final String keyWords="BG";
    // ########################################订阅鲜花合作商#################################################
    public static final String Flower_subscription_partner="http://cs.iishang.com/orderflower/client_toOrderFlower/c49afb1420634247b71c4654003f3bb8/";
    public static final String GOODS_H5_URL = "121.40.132.165:8080/";

    public static final String CERT_PASSWORD = "1272902101";
    public static final String PARTNERKEY = "919KDedasdfkjGLJeiu2jds88mn233XY";
    //服务商体系
//    public static final String APPID = "wx8ef1c63ff3099d57";            //公众号id
//    public static final String APPSECRET = "28b002d9c1caf769b3286d65ec44ee4c"; //秘钥
//    public static final String BD_APPID = "wxe5c8f2a0713c32f0"; // 北斗公众账号,不可修改
//    public static final String MCH_ID = "1272902101"; // 北斗财付通商户号,不可修改
//    public static final String MCH_ID_KEY = "919KDedasdfkjGLJeiu2jds88mn233GL"; // 北斗财付通密钥,不可修改
//    public static final String SUB_MCH_ID = "1314489201"; // 官网财付通商户号，根据自己需求修改
//    public static final String SYS_URL = "http://m.iishang.com/";
//    public static final String GOODS_URL = "m.iishang.com/";

    ////////////////////////////////////////靓果测试///////////////////////////////////////////////////

//	public static final String APPID = "wxeb5414d4d4415c80";            //公众号id
//	public static final String APPSECRET = "848e8811c20f9a94009df94d9dd6ad63"; //秘钥
//	public static final String BD_APPID = "wxe5c8f2a0713c32f0"; // 北斗公众账号,不可修改
//	public static final String MCH_ID = "1272902101"; // 北斗财付通商户号,不可修改
//	public static final String MCH_ID_KEY = "919KDedasdfkjGLJeiu2jds88mn233GL"; // 北斗财付通密钥,不可修改
//	public static final String SUB_MCH_ID = "1319976301"; // 靓果财付通商户号，根据自己需求修改
//	public static final String SYS_URL = "http://b2c.51zhonghua.com/";
//    public static final String GOODS_URL = "b2c.51zhonghua.com";

//    public static final String NOTIFY_URL = SYS_URL + "wx_notice.do";
//    public static final String TOKEN = "ZhongHua2015";


}
